package com.cxz.study.ddd_2081_project.api.v1.client.base;

import com.cxz.study.ddd_2081_project.api.v1.common.AppNameConstant;
import com.cxz.study.ddd_2081_project.api.v1.dto.base.WhSerialNoRecordDTO;
import com.cxz.study.ddd_2081_project.api.v1.fallback.base.WhSerialNoRecordClientFallBack;
import com.cxz.study.ddd_2081_project.api.v1.param.base.WhSerialNoRecordParam;
import com.cxz.study.ddd_2081_project.api.v1.service.base.WhSerialNoRecordClientService;
import com.cxz.study.ddd_project_parent_api.common.ResponseData;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

/**
 * @className: WhSerialNoRecordClient
 * @author: ocxz1
 * @date: 2024/12/29 下午9:55
 * @Version: 1.0
 * @description: ddd_project1
 */
@FeignClient(
        name = AppNameConstant.APPLICATION_2081_NAME,
        fallback = WhSerialNoRecordClientFallBack.class)
public interface WhSerialNoRecordClient extends WhSerialNoRecordClientService {

    @RequestMapping("base/findList3")
    ResponseData<List<WhSerialNoRecordDTO>> findList3(@RequestBody WhSerialNoRecordParam param);
}



    
    